/*
 * Point.cpp
 *
 *  Created on: 22-Feb-2014
 *      Author: dev
 */

#include "Point.h"

namespace tf {

Point::Point() {
	x = y = 0;
}

Point::Point(int x, int y) {
	set(x, y);
}

void Point::set(int x, int y) {
	this->x = x;
	this->y = y;
}

string Point::str() {
	stringstream ss;
	ss << "(" << x << ", " << y << ")";
	return ss.str();
}

Point::~Point() {

}

} /* namespace tf */
